package com.akaovi.exp.exp11.domain;

/**
 * @author akaovi
 * @version 1.0
 * @description
 * @date 2022/11/29 11:40
 * @since 2022/11/29 11:40
 */
public class Course {
    /**
     * 课程编号
     */
    private int cid;
    /**
     * 课程名
     */
    private String cname;

    public Course() {
    }

    public Course(int cid, String cname) {
        this.cid = cid;
        this.cname = cname;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    @Override
    public String toString() {
        return "Course{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                '}';
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
}
